﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="frmmain.aspx.cs" Inherits="HY.WEB._default" %>
<%@ Register src="Controls/main.ascx" tagname="main" tagprefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title><%=title%></title>
    <link rel="shortcut icon" type="image/x-icon" href="<%=hico%>" />
    <meta name="Title" content="<%=content%>" />
    <meta name="Description" content="<%=Description%>" />
    <meta name="Keywords" content="<%=Keywords%>" />
    <link href="css/default.css" rel="stylesheet" type="text/css" />
         
 <style>
    .x-form-item label
    {
            text-align: right;
    }
</style>


</head>
<body>
    <form id="form1" runat="server">
    <ext:PageManager ID="PageManager1" AutoSizePanelID="RegionPanel1" runat="server"></ext:PageManager>
    
    <ext:RegionPanel ID="RegionPanel1" ShowBorder="false" runat="server">
        <Regions>
            <ext:Region ID="Region1" Margins="0 0 0 0" Height="62px" ShowBorder="false" ShowHeader="false"
                Position="Top" Layout="Fit" runat="server">
                <Toolbars>
                    <ext:Toolbar ID="Toolbar1" Position="Bottom" runat="server">
                        <Items>
                            <ext:Button ID="btnExpandAll" IconUrl="~/images/expand-all.gif" Text="展开全部" EnablePostBack="false"
                                runat="server">
                            </ext:Button>
                            <ext:Button ID="btnCollapseAll" IconUrl="~/images/collapse-all.gif" Text="折叠全部" EnablePostBack="false"
                                runat="server">
                            </ext:Button>
                            <ext:ToolbarFill ID="ToolbarFill1" runat="server" >
                            </ext:ToolbarFill>
                         
                                <ext:Button ID="btuser" runat="server" Text="">
                                </ext:Button>
                            
                            <ext:ToolbarSeparator ID="ToolbarSeparator3" runat="server">
                            </ext:ToolbarSeparator>                          
                            <ext:Button ID="Button2" runat="server" Text="退出系统" OnClick="frmmain_exit">
                            </ext:Button>

                            <ext:ToolbarSeparator ID="ToolbarSeparator4" runat="server">
                            </ext:ToolbarSeparator>
                            <ext:ToolbarText ID="ToolbarText4" Text="语言：" runat="server">
                            </ext:ToolbarText>
                            <ext:DropDownList ID="ddlLanguage" Width="120px" AutoPostBack="true" OnSelectedIndexChanged="ddlLanguage_SelectedIndexChanged"
                                runat="server">
                                <ext:ListItem Text="English" Value="en" />
                                <ext:ListItem Text="简体中文" Value="zh_cn" />
                                <ext:ListItem Text="繁體中文" Value="zh_tw" />
                            </ext:DropDownList>
                                                  <ext:ToolbarText ID="ToolbarText3" Text="&nbsp;&nbsp;主题：" runat="server">
                            </ext:ToolbarText>
                            <ext:DropDownList ID="ddlTheme" Width="100px" AutoPostBack="true" OnSelectedIndexChanged="ddlTheme_SelectedIndexChanged"
                                runat="server">
                                <ext:ListItem Text="蓝色" Selected="true" Value="blue" />
                                <ext:ListItem Text="银灰色" Value="gray" />
                                <ext:ListItem Text="Access" Value="access" />
                            </ext:DropDownList>
                        </Items>
                    </ext:Toolbar>
                </Toolbars>
                <Items>
                    <ext:ContentPanel ShowBorder="false" ShowHeader="false" BodyStyle="background-color:#1C3E7E;"
                        ID="ContentPanel1" runat="server">
                        <div class="header">
                            <a href="./default.aspx" style="color:#fff;"><%=title%></a>
                        </div>
                    </ext:ContentPanel>
                </Items>
            </ext:Region>  
         
            <ext:Region ID="Region2" Split="true" EnableSplitTip="true" CollapseMode="Mini" Width="160px"
                Margins="0 0 0 0" ShowHeader="true" Title="功能列表" EnableLargeHeader="false" Icon="Outline" EnableCollapse="true"
                Layout="Fit" Position="Left" runat="server">
                <Items>
                    <ext:Tree runat="server" EnableArrows="true"  ShowBorder="false" ShowHeader="false"
                         EnableIcons="false" AutoScroll="true" ID="treeMenu" >
                    </ext:Tree>
                </Items>
            </ext:Region>   
            <ext:Region ID="mainRegion" ShowHeader="false" Layout="Fit" Margins="0 0 0 0" Position="Center"
                runat="server">
                <Items>
                    <ext:TabStrip ID="mainTabStrip" EnableTabCloseMenu="true" ShowBorder="false" runat="server">
                        <Tabs>
                            <ext:Tab Title="首页" Layout="Fit" Icon="House" runat="server">
                                <Toolbars>
                                    <ext:Toolbar runat="server">
                                        <Items>
                                            <ext:ToolbarFill ID="ToolbarFill2" runat="server">
                                            </ext:ToolbarFill>
                                      
                                            <ext:ToolbarSeparator runat="server">
                                            </ext:ToolbarSeparator>
                                            <ext:Button ID="btnGotoOpenSourceSite" Icon="TabGo" Text="软件开发商：海域科技"     EnablePostBack="false" runat="server">
                                            </ext:Button>                                   
                                             <ext:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
                                            </ext:ToolbarSeparator>
                                            <ext:Button ID="Button1" Icon="TabGo" Text=" TEL:13712580594  QQ:88202482"   EnablePostBack="false" runat="server">
                                            </ext:Button>
                                            <ext:ToolbarSeparator ID="ToolbarSeparator2" runat="server">
                                            </ext:ToolbarSeparator>
                                            <ext:Button ID="btnGotoMyBlog" Icon="TabGo" Text="www.seastech.cn" OnClientClick="window.open('http://www.seastech.cn', '_blank');"
                                                EnablePostBack="false" runat="server">
                                            </ext:Button>
                                              <ext:ToolbarSeparator ID="ToolbarSeparator5" runat="server">
                                            </ext:ToolbarSeparator>
                                             <ext:Button ID="Button4" Icon="TabGo" Text="使用说明" OnClientClick="window.open('../pdf/help.pdf', '_blank');"
                                                EnablePostBack="false" runat="server">
                                            </ext:Button>
                                              <ext:ToolbarSeparator ID="ToolbarSeparator6" runat="server">
                                            </ext:ToolbarSeparator>
                                            <ext:Button ID="Button3" Icon="TabGo" Text="刷新" OnClientClick="window.open('frmmain.aspx', '_parent');"
                                                EnablePostBack="false" runat="server">
                                            </ext:Button>
                                             </Items>
                                    </ext:Toolbar>
                                </Toolbars>
                                <Items>
                                    <ext:ContentPanel ShowBorder="false" BodyPadding="3px" ShowHeader="false" AutoScroll="true" 
                                        CssClass="intro" runat="server">
                                                <uc1:main ID="main1" runat="server" />
                                    </ext:ContentPanel>
                                </Items>
                            </ext:Tab>
                        </Tabs>
                    </ext:TabStrip>
                </Items>
            </ext:Region>
        </Regions>
    </ext:RegionPanel>
    <ext:Window ID="windowSourceCode" Title="窗口" Popup="false" EnableIFrame="true" runat="server"
        IsModal="true" Width="900px" Height="550px" EnableClose="true" EnableMaximize="true">
    </ext:Window>
    <asp:XmlDataSource ID="XmlDataSource1" runat="server" DataFile="./temp.xml"></asp:XmlDataSource>
    </form>
   <%--  <img src="images/logo/seastech.png" alt="ExtAspNet 图标" id="logo" />
   <div style="display: none;">
        <script src="http://s20.cnzz.com/stat.php?id=3081012&web_id=3081012&show=pic" type="text/javascript"></script>
    </div>--%>
    <script type="text/javascript">
        var IDS = {
            treeMenu: '<%= treeMenu.ClientID %>',
            btnExpandAll: '<%= btnExpandAll.ClientID %>',
            btnCollapseAll: '<%= btnCollapseAll.ClientID %>',
            windowSourceCode: '<%= windowSourceCode.ClientID %>',
            mainTabStrip: '<%= mainTabStrip.ClientID %>'
        };

    </script>
    <script src="./js/default.js" type="text/javascript"></script>
</body>
</html>
